
package com.feib.soeasy.dao;

import com.feib.soeasy.model.MailQueue;


/**
 * @title (#)MailQueuedDao.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2010/12/4 create by Jimmy Liu<br>
 */
public interface MailQueueDao extends HibernateDao<MailQueue, Long> {

    /**
     * 尚未發送Mail
     * @return
     */
    public MailQueue findUnSendMail();

    /**
     * 更新Mail Queue狀態
     * @param mailQueue
     * @return
     */
    public MailQueue updateMailStatus(MailQueue mailQueue);

}
